package com.xbongbong.paas.field;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.Max;
import java.io.Serializable;

/**
 * @author: wufeng
 * @date: 2018/8/22 9:55
 * @desrcption:
 */
@Getter
@Setter
@ToString
public class NumericalLimitsPoJo implements Serializable {
    private static final long serialVersionUID = -6206749966275173263L;

    private Double min;

    private Double max;

    public NumericalLimitsPoJo(){
        min = -9007199254740991D;
        max = 9007199254740991D;
    }
    
    public NumericalLimitsPoJo(Double min, Double max){
        this.min = min;
        this.max = max;
    }
}
